package edu.pku.hawk.service.impl;

import java.util.HashMap;
import java.util.Random;

import edu.pku.hawk.controller.util.Constants;
import edu.pku.hawk.controller.util.ReportQueue;
import edu.pku.hawk.service.FusionSer;
import edu.pku.hawk.service.bo.FusionResult;
import edu.pku.hawk.service.bo.FusionSensorData;

public class FusionSerImpl_Probability implements FusionSer {

	public FusionResult fuse(FusionSensorData[] sdes) {
		Random r = new Random();
		return new FusionResult(r.nextInt(200),r.nextInt(200),r.nextInt(15),Constants.TYPE_TRACK , Constants.TYPE_TRACE_TANK);	
	}
	
	public FusionResult fuseSingle(FusionSensorData[] sde) {
		Random r = new Random();
		return new FusionResult(r.nextInt(200),r.nextInt(200),r.nextInt(15),Constants.TYPE_TRACK , Constants.TYPE_TRACE_TANK);	
	} 
	
	public FusionResult fuseAll(final HashMap<Integer, ReportQueue> map) {
		return null;
	}
	
	
}
